<!DOCTYPE html>
    <html>
        <head>
            <meta charset="UTF-8">
            <title>Angular JS app</title>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular.js"></script>
        </head>
        <body ng-app="">
            <div ng-init="arr = [1, 2, 3, 4];obj={x:1}">
               {{arr[0]}}
            </div>
        </body>
    </html>